ECHO
ECHO Generating all templates

::
:: Document templates
::


ECHO Re-generating document template C Sharp
del "..\..\Built\DocumentTemplate.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\DocumentTemplate.cs.zip" "..\..\Document\CS\*.*"


ECHO Re-generating document template Visual Basic
del "..\..\Built\DocumentTemplate.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\DocumentTemplate.vb.zip" "..\..\Document\VB\*.*"


ECHO Re-generating document template Web C Sharp
del "..\..\Built\DocumentTemplate.web.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\DocumentTemplate.web.cs.zip" "..\..\Document\Web\CS\*.*"


ECHO Re-generating document template Web Visual Basic
del "..\..\Built\DocumentTemplate.web.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\DocumentTemplate.web.vb.zip" "..\..\Document\Web\VB\*.*"


::
:: Styles Templates
::


ECHO Re-generating styles template C Sharp
del "..\..\Built\StylesTemplate.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\StylesTemplate.cs.zip" "..\..\Styles\CS\*.*"

ECHO Re-generating styles template Visual Basic
del "..\..\Built\StylesTemplate.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\StylesTemplate.vb.zip" "..\..\Styles\VB\*.*"

ECHO Re-generating styles template Web C Sharp
del "..\..\Built\StylesTemplate.web.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\StylesTemplate.web.cs.zip" "..\..\Styles\Web\CS\*.*"

ECHO Re-generating styles template Web Visual Basic
del "..\..\Built\StylesTemplate.web.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\StylesTemplate.web.vb.zip" "..\..\Styles\Web\VB\*.*"


::
:: Pages templates
::

ECHO Re-generating page template C Sharp
del "..\..\Built\PageTemplate.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\PageTemplate.cs.zip" "..\..\Page\CS\*.*"

ECHO Re-generating page template Visual Basic
del "..\..\Built\PageTemplate.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\PageTemplate.vb.zip" "..\..\Page\VB\*.*"

ECHO Re-generating page template Web C Sharp
del "..\..\Built\PageTemplate.web.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\PageTemplate.web.cs.zip" "..\..\Page\Web\CS\*.*"

ECHO Re-generating page template Web Visual Basic
del "..\..\Built\PageTemplate.web.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\PageTemplate.web.vb.zip" "..\..\Page\Web\VB\*.*"

::
:: User Component templates
::

ECHO Re-generating user component template C Sharp
del "..\..\Built\ComponentTemplate.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\ComponentTemplate.cs.zip" "..\..\UserComponent\CS\*.*"

ECHO Re-generating user component template Visual Basic
del "..\..\Built\ComponentTemplate.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\ComponentTemplate.vb.zip" "..\..\UserComponent\VB\*.*"

ECHO Re-generating user component template Web C Sharp
del "..\..\Built\ComponentTemplate.web.cs.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\ComponentTemplate.web.cs.zip" "..\..\UserComponent\Web\CS\*.*"

ECHO Re-generating user component template Web Visual Basic
del "..\..\Built\ComponentTemplate.web.vb.zip"
"C:\Program Files (x86)\7-Zip\7za" a -r "..\..\Built\ComponentTemplate.web.vb.zip" "..\..\UserComponent\Web\VB\*.*"

ECHO Completed